package cn.edu.xmist.decorator;

public class DecoratorTest {
    public static void main(String[] args) {
//        DefaultCamera defaultCamera = new DefaultCamera();
//        defaultCamera.photo();
//
//        MeituCamera meituCamera = new MeituCamera();
//        meituCamera.photo();

        DefaultCamera defaultCamera = new DefaultCamera();
        Decorator decorator = new Decorator(defaultCamera);
        decorator.photo();
    }
}
